﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domian.Entity
{
    /// <summary>
    /// 角色信息表
    /// </summary>
    [Table("role_info")]
    public class RoleInfo
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        [Key]
        public int RoleId { get; set; }
        /// <summary>
        /// 角色姓名
        /// </summary>
        public string? RoleName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatePerson { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? RevisePerson { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ReviseDate { get; set; }
        /// <summary>
        /// 是否删除标志（0  删除  1  未删除）
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
